<div
    class="layout-absolute"
    data-control="menu-item-editor"
    data-alias="<?= $this->alias ?>"
    data-item-properties="<?= e($itemProperties) ?>"
    data-storage-media-path="<?= url(Config::get('cms.storage.media.path')); ?>"
>
    <div class="control-scrollbar" data-control="scrollbar">
        <div class="control-treeview treeview-light"
            data-control="treeview"
            id="<?= $this->getId('item-list') ?>"
        >
            <?= $this->makePartial('items', ['items' => $items]) ?>
        </div>
    </div>

    <script type="text/template" data-editor-template>
        <?= $this->makePartial('editortemplate') ?>
    </script>

    <script type="text/template" data-item-template>
        <?= $this->makePartial('item', ['item' => $emptyItem]) ?>
    </script>
</div>
